﻿<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width,height=device-height, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0,shrink-to-fit=no" />
<meta name="format-detection" content="telephone=no" />
<!--em标准js代码，请放在页面的最上方，前面最好不要再有JS代码或JS文件-->
<script type="text/javascript" src="/js/rem.js"></script>
<link type="text/css" rel="stylesheet" href="/css/css.css" />
<link type="text/css" rel="stylesheet" href="/css/style.css" />
<title>东易日盛装饰开业盛典</title>
</head>

<body>		
	
	<div class="header">
		<a href="javascript:history.go(-1)" class="backa"></a>

		<a href="/plan/planAdd" class="adda"></a>
	</div>	

	<div class="main main2">
		<div class="wp1">
			<div class="wp2">
				
				<div class="p7_in">
					<div class="ti">合同编号</div>
					<input id="conCode" name="conCode" type="text" class="text" disabled>
				</div>

				<div class="p7_in">
					<div class="ti">签约时间</div>
					<div class="mh_time">
						<input type="date" class="text" disabled>
						<span id="conTime" name="conTime" class="mh_val"></span>
					</div>
				</div>

				<div class="p7_in">
					<div class="ti">工程地址</div>
					<input id="address" name="address" type="text" class="text" disabled>
				</div>

				<div class="p7_in">
					<div class="ti">项目经理</div>
					<input id="manager" name="manager" type="text" class="text" disabled>
				</div>

				<div class="p7_in">
					<div class="ti">计划开工时间</div>
					<div class="mh_time">
						<input id="startTime" name="startTime" type="date" class="text" disabled>
						<span id="startTime1" name="startTime1" class="mh_val"></span>
					</div>
				</div>

				<div class="p7_in">
					<div class="ti">计划完工时间</div>
					<div class="mh_time">
						<input id="endTime" name="endTime" type="date" class="text" disabled>
						<span id="endTime1" name="endTime1" class="mh_val"></span>
					</div>
				</div>

				<div class="p7_in">
					<div class="ti">专属设计师</div>
					<input id="desId" name="desId" type="text" class="text" disabled>
				</div>
				<input type="hidden" id="planId" name="planId"><br>
				<span id="msg" class="p3_inp" style="color: red;text-align: center;border: none;"></span>

			</div>
		</div>
	</div>

	<img src="/images/bodysd.jpg" alt="" class="sd">
</body>
<script type="text/javascript" src="/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="/js/base.js"></script>
<script type="text/javascript" src="/js/popups.js"></script>
<script type="text/javascript">

	$(function () {
		getPlanByConCode();
	});

	function getPlanByConCode() {
		$.ajax({
			url: "/plan/getPlanByConCode",
			method: "get",
			data: "",
			success: function (data) {
				$("#conCode").val(data.conCode)
				$("#conTime").text(data.conTime)
				$("#address").val(data.address)
				$("#manager").val(data.manager)
				$("#startTime1").text(data.startTime)
				$("#endTime1").text(data.endTime)
				$.ajax({
					url: "/designer/getDesignerById",
					method: "get",
					data: {
						desId:data.desId
					},
					success: function (data) {
						$("#desId").val(data.name);
					}
				})
			}
		})
	}

</script>
</html>